module.exports = [

    //restapi
    // ['/apiv1/competition','apiv1/competition','rest'],
    // ['/apiv1/competition','apiv1/competition/:guid','rest'],
    // [/\/apiv1\/competition(\/)?/, 'apiv1/competition/', 'rest'],
    //
    // [/\/apiv1\/competition(?:\/(\w+))/, 'apiv1/competition/guid=:1', 'rest']
    // 比赛相关接口
    // ['/^\/$/', '/apiv1/competition', 'get'], // 正常使用

    //比赛
    ['/apiv1/competition', '/apiv1/competition', 'rest'], // 正常使用
    ['/apiv1/competition/:guid?', '/apiv1/competition', 'rest'], // 可以使用的,正常的



    //获取提交的作品数量
    ['/apiv1/cpworkscount/:guid?', '/apiv1/competition/competitionWorksCount', 'get'], // 可以使用的,正常的
    ['/apiv1/cpdesc/:guid?', '/apiv1/competition/competitionDesc', 'get'], //
    ['/apiv1/cpstep/:guid?', '/apiv1/competition/competitionStep', 'get'], //
    ['/apiv1/uploadWork', '/apiv1/application/uploadWork', 'post'], //




    // 裁判相关接口
    ['/apiv1/judger', '/apiv1/judger', 'rest'], // 可以使用的,正常的
    ['/apiv1/judger/:guid?', '/apiv1/judger', 'rest'], // 可以使用的,正常的


    //成绩
    ['/apiv1/stepgrade/:guid?', '/apiv1/stepgrade', 'rest'], // 可以使用的,正常的

    //报名
    ['/apiv1/application', '/apiv1/application', 'rest'], // 报名接口



    //作品
    ['/apiv1/works/:guid?', '/apiv1/works', 'rest'], // 报名接口,

    //公用接口
    ['/apiv1/upFile', '/apiv1/common/uploddFile', 'post'], // 可以使用的,正常的




];
